package cn.dengta.context.model;

import lombok.*;
import java.util.Map;

import com.alibaba.fastjson2.JSONObject;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class OptionExt<T> extends Option<T> {
	/** 名称 */
	private String name;
	/** 图标 */
	private String icon;

	private Map<String, Object> ext;

	public OptionExt(T value, String label, String name) {
		this(value, label, name, null);
	}

	public OptionExt(T value, String label, String name, Long pId) {
		super(value, label, pId);
		this.name = name;
	}

}
